import login from '../views/login/login.vue'

export default [
  {
    path: '/',
    redirect: '/auth'
  },

  {
    path: '/login',
    name: 'login',
    component: login

  },
  //单点授权
  {
    path: '/auth',
    name: 'auth',
    component: () => import('@/views/login/auth')

  },
  {
    path: '/404',
    name: '404',
    component: () => import('@/views/404')

  },


]
export const err404 = { path: '*', redirect: '/404' }
